package cn.tedu._06notice.mapper;

import cn.tedu._06notice.pojo.dto.NoticeListQuery;
import cn.tedu._06notice.pojo.dto.NoticeUpdateParam;
import cn.tedu._06notice.pojo.entity.Notice;
import cn.tedu._06notice.pojo.vo.NoticeDetailInfoVO;
import cn.tedu._06notice.pojo.vo.NoticeListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author tune_the last
 * @date 2025/11/11 - 16:23
 */
//@Mapper
public interface NoticeMapper {

    int insertNotice(Notice notice);

    NoticeDetailInfoVO selectDetailById(Integer id);

    List<NoticeListVO> selectNoticeByTitleAndType(NoticeListQuery noticeListQuery);

    int deleteNoticeById(Long id);

    int updateNoticeById(Notice notice);
}
